package com.d0304;

public class Student {
    int age;
    String name;
    public void changeName(String name){
        this.name=name;
    }
    public void changeAge(int page){
        System.out.println(page);
    }
    public void showage(){
        System.out.println(age);
    }
    public void shoeName(){
        System.out.println(name);
    }

    public static void main(String[] args) {
        Student student =new Student();
        student.changeAge(30);
        student.showage();
        student.changeName("Jack");
        System.out.println(student.name);
        student.shoeName();

    }
}
